package io;

import java.io.File;

public class IODemo6 {
    public static void main(String[] args) {
        File src = new File("./text-dir");
        File dest = new File("./test222");
        src.renameTo(dest);
    }

}
